package cn.com.customer.manager.ui.order.detail

import cn.com.customer.manager.base.BasePresenter
import cn.com.customer.manager.base.BaseView
import cn.com.customer.manager.bean.GoodListInfo
import cn.com.customer.manager.bean.OrderDetailInfo
import cn.com.customer.manager.bean.ReceivePayListInfo

interface OrderDetailContract {
    interface View : BaseView<Presenter> {
        fun setData(data: OrderDetailInfo)
        fun setGoodList(data: GoodListInfo)
        fun setReceivedPaymentsList(data:ReceivePayListInfo)
        fun addSuccess()
    }

    interface Presenter : BasePresenter {
        fun getData(params: MutableMap<String, String>)
        fun getGoodList(params: MutableMap<String, String>)
        fun getReceivedPaymentsList(params: MutableMap<String, String>)
        fun begin(params: MutableMap<String, String>)
        fun receivedPaymentAdd(params: MutableMap<String, String>)
    }
}